import React from "react";
import Img from "../../assets/img/404.gif"
import './index.css'


export default function Error(){
    const comeback =()=>{
        history.back()
    }
    return(
        <>
        <div className="imgself" onClick={()=>comeback()}>
            <img src={Img} alt="" />
        </div>
        </>
    )
}